﻿Public Class BasicForm

    Private _slave As BasicSlave

    Public Sub New(ByVal slave As BasicSlave)
        InitializeComponent()
        _slave = slave
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        _slave.GetMessage()
    End Sub
End Class